#include <iostream>
using namespace std;
int main()
{
    int d1, d2, d3, d4 , d5, d6, d7;
   cout<<"colocar el dia de la semana"<<endl;
   cout<<"Lunes: ";
   cin>>d1;
    cout<<"Martes: ";
   cin>>d2;
    cout<<"Miercoles: ";
   cin>>d3;
    cout<<"Jueves: ";
   cin>>d4;
    cout<<"Viernes: ";
   cin>>d5;
    cout<<"Sabado: ";
   cin>>d6;
    cout<<"Domingo: ";
   cin>>d7;
    while(d1<=30)
    {
        cout<<"Lunes:"<<d1<<endl;
        d1 =d1+7;

    }
    while(d2<=30)
    {
        cout<<"Martes: "<<d2 <<endl;
         d2 =d2+7;
    }
    while(d3<=30)
    {
        cout<<"Miercoles: "<<d3 <<endl;
          d3 =d3+7;
    }
    while(d4<=30)
    {
        cout<<"Jueves: "<<d4 <<endl;
          d4 =d4+7;
    }
    while(d5<=30)
    {
        cout<<"Viernes: "<<d5 <<endl;
         d5 =d5+7;
    }
    while(d6<=30)
    {
        cout<<"Sabado: "<<d6 <<endl;
         d6 =d6+7;

    }
        while(d7<=30)
    {
        cout<<"Domingo: "<<d7 <<endl;
        d7 =d7+7;
    }
    return 1;

}
